package com.kzd.gtgame.main.mine

import android.os.Bundle
import com.kzd.gtgame.R
import com.kzd.gtgame.jetpack.vm.MineViewModel

import com.module.lemlin.owner.OwnerViewModeFragment


class MineRebateFragment : OwnerViewModeFragment<MineViewModel>() {

    companion object {
        const val KEY_COLLECT_ACTION = "KEY_COLLECT_ACTION"
        fun newInstance(action: Int): MineRebateFragment {
            val bundle = Bundle().apply {
                putInt(KEY_COLLECT_ACTION, action)
            }
            return MineRebateFragment().apply {
                arguments = bundle
            }
        }
    }

    private val mAction: Int by lazy {
        arguments?.getInt(KEY_COLLECT_ACTION) ?: 0
    }

    override fun viewModel(): MineViewModel {
        return createViewModel()
    }

    override val layoutResId: Int
        get() = R.layout.include_app_refresh

    override fun initView() {

    }

}